﻿namespace ShuttleBus.Serialization
{
    public interface ISerializer
    {
        void Serialize(IStream stream, TransportMessage objectToSerialize);
        object Deserialize(IStream stream);
    }
}